package com.github.niefy.modules.wx.controller;

import com.github.niefy.common.utils.ChangDuCallService;
import com.github.niefy.modules.wx.entity.ChangduUserRecharge;
import com.github.niefy.modules.wx.scheduling.ChangduUserReChargeJob;
import com.google.common.collect.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ChangduController {

    @Autowired
    private ChangduUserReChargeJob changduUserReChargeJob;
    @Autowired
    private ChangDuCallService changDuCallService;

    @RequestMapping("/changdu/changdu_getUserReChargeV1")
    public void changdu_getUserReChargeV1() {
        changduUserReChargeJob.changdu_getUserReChargeV1();
    }

    @RequestMapping("/changdu/changdu_getUserListV1")
    public void changdu_getUserListV1() {
        changDuCallService.getUserListV1();
    }
}
